@use "@/assets/styles/mixin";
.construction-log{
  position: relative;
  flex: 1;
  overflow-y: auto;
  margin-top: 20px;
  padding-top:5px ;
  padding-left: 20px;
  padding-right: 20px;
}
.time-line {
  margin-left: 117px;
}
.list-title {
  @include mixin.flex-between;
  margin-bottom: 8px;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.9);
  line-height: 24px;
  &-user{
    @include mixin.flex-align;
  }
  &-name{
    margin-left: 10px;
    font-weight: 400;
    font-size: 14px;
    color: #3D3D3D;
  }
  &-role{
    font-size: 12px;
    color: #86909C;
  }
}
.list-desc {
  padding: 10px;
  box-sizing: border-box;
  background-color: #f2f3f5;
  border-radius: 4px;
  &-content {
    margin-bottom: 4px;
    font-size: 14px;
    color: #3d3d3d;
    line-height: 24px;
  }
  &-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    grid-gap: 10px;
    margin: 10px 0 20px;
    :deep(.el-image),
    video{
      width: 100%;
      height: 80px;
      border-radius: 4px;
    }
    .video-box{
      position: relative;
      :deep(.svg-icon) {
        @include mixin.position-center;
        z-index: 9;
        font-size: 29px;
      }
      video {
        object-fit: cover;
      }
    }

  }
  &-name {
    font-size: 12px;
    color: #86909c;
    line-height: 24px;
  }
}
//左侧时间
.time {
  color: #409eff;
  position: absolute;
  left: -118px;
  top: 1px;
  .year {
    font-size: 18px;
    font-weight: 400;
    color: #20354a;
  }
  .day {
    @include mixin.flex-align;
    justify-content: flex-end;
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    color: #596878;
    text-align: right;
    margin-top: 10px;
    span {
      margin-left: 4px;
    }
  }
}

:deep(.el-empty){
  @include mixin.position-center;
}


/**
新增施工日志
 */
.add-construction-log{
  @include mixin.flex-center(end,center);
  position: fixed;
  bottom: 0;
  left: 200px;
  z-index: 999;
  width: calc(100% - 200px);
  height:64px;
  background-color: #FFFFFF;
  box-shadow: 0px -10px 10px -10px rgba(4,24,48,0.1);
  :deep(.el-button){
    width: 120px;
    height: 36px;
    margin-right: 20px;
  }
  :deep(.el-radio){
    margin-right: 120px;
  }
  :deep(.el-textarea__inner){
    background-color: #F2F3F5;
    box-shadow: none;
  }
  :deep(.upload-picture-card){
    border: 0 !important;
    background-color: #F2F3F5 !important;
  }
}
.dialog-footer{
  text-align: center;
}
